﻿using System.Data.OracleClient;
using Microsoft.Practices.EnterpriseLibrary.Data;

namespace NET.Library.Data
{
    /// <summary>
    /// 
    /// </summary>
    public sealed class DBOracle : DB
    {
        #region Fields

        #endregion

        #region Properties

        #endregion

        #region Constructors

        #endregion

        #region Instance Methods

        #region DataReader
        ///----------------------------------------------------------------------------------
        /// <summary>
        /// Executes a stored procedure with parameterValues and returns the results as a MySqlDataReader.
        /// </summary>
        /// <param name="storedProcedureName">The name of the Stored Procedure to execute.</param>
        /// <returns></returns>
        ///----------------------------------------------------------------------------------
        public OracleDataReader DBExecuteDataReader(string storedProcedureName)
        {
            return (OracleDataReader)base.DBExecuteReader(this.ConnectionString, storedProcedureName);
        }

        public OracleDataReader DBExecuteDataReader(string storedProcedureName, params object[] parameterValues)
        {
            //return OracleClientFactory.Instance.
            return (OracleDataReader)base.DBExecuteReader(this.ConnectionString, storedProcedureName, parameterValues);
        }
        #endregion

        #region DataSet

        #endregion

        #region ExecuteNonQuery

        #endregion

        #region ExecuteScalar#endregion

        #region DataReader

        #endregion

        #endregion

        #endregion

        #region Static Methods

        #endregion
    }
}
